<template>
    <div class="page">
        <div class="header">
            <slot name="header">
            </slot>
        </div>
        <slot/>
    </div>
</template>

<script>
import { defineComponent } from 'vue'
export default defineComponent({
    name: 'page'
})
</script>

<style scoped>
.page {
    width: 100%;
}

.page .header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    
    margin-top: 1px;
    padding-left: 24px;
    padding-right: 24px;
    height: 72px;

    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(251, 229, 187, 0.1);
}

.page .header .el-input {
    width: unset;
}

.header>:is(div, button) + :is(div, button) {
    margin-left: 8px;
}
</style>